package com.ygqh.baby.service;

import java.util.Date;
import java.util.List;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgStockWhiteList;

public interface YgStockWhiteListService {

	List<YgStockWhiteList> find();

	int findCount();

	YgStockWhiteList findById(Long id);

	int deleteSoft(Long[] ids);

	int deleteSoft(Long id);

	int save(YgStockWhiteList ygStockWhiteList);

	int update(YgStockWhiteList ygStockWhiteList);

	int saveOrUpdate(YgStockWhiteList ygStockWhiteList);

	ResultSet<YgStockWhiteList> search(QueryInfo queryInfo, Date startDate, Date endDate, String q);

	YgStockWhiteList findStockWhiteOnLine();

}
